home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Genie / Projects / Pedestal / Source / Sources / Commands / PedCommandNew.cc < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-24  |  430 b   |  23 lines

  1. /*    ================
  2.  *    PedCommandNew.cc
  3.  *    ================
  4.  */
  5.  
  6. #include "PedestalDebugging.h"
  7.  
  8. #include "Ped1ObjectDeity.hh"
  9. #include "PedCommandNew.hh"
  10. //#include "PedApplication.hh"
  11. #include "PedAgent.hh"
  12.  
  13. void
  14. PedCommandNew::Execute()
  15. {
  16.     PedAgent *agent;
  17.     
  18.     agent = gOD->CreateWindowAgent();
  19.     agent->OpenWindow();
  20.     // In this example we're not retaining our agent object, because opening
  21.     // the window takes care of that.
  22. }
  23.